////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Iflytek_ZY team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.qams.service.impl;

import java.util.List;

import com.iflytek.ci.qams.dao.IssueTypeDao;
import com.iflytek.ci.qams.domain.IssueType;
import com.iflytek.ci.qams.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * .
 * </p>
 * 
 * @author poplar.yfyang
 * @version 1.0 2012-11-03 11:38 PM
 * @since JDK 1.5
 */
@Service
@Transactional(readOnly = true, isolation = Isolation.READ_UNCOMMITTED)
public class TypeServiceImpl implements TypeService {
	@Autowired
	private IssueTypeDao typeDao;

	@Override
	public List<IssueType> all_types() {
		return typeDao.all_types();
	}
}
